package business.other.punish.impl;

import antlr.ANTLRGrammarParseBehavior;
import business.other.punish.AntiaircraftPunishInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import other.domain.AntiaircraftPunishInfo;
import other.domain.AntiaircraftPunishInfoCriteria;
import other.mapper.AntiaircraftPunishInfoMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/17.
 */
@Service(value = "antiaircraftPunishService")
public class AntiaircraftPunishInfoServiceImpl implements AntiaircraftPunishInfoService{
    @Autowired
    AntiaircraftPunishInfoMapper antiaircraftPunishInfoMapper;
    @Override
    public List<AntiaircraftPunishInfo> getAntiaircraftPunishInfo() {
        AntiaircraftPunishInfoCriteria criteria = new AntiaircraftPunishInfoCriteria();
        criteria.createCriteria().getAllCriteria();
        return antiaircraftPunishInfoMapper.selectByExample(criteria);
    }
}
